package com.hxzy.shop.order.dto.resp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Description
 * @Author hu-yf
 * @Data 2022/5/7 11:31
 */
@Data
public class PlaceOrderDrugDetailsV3Resp implements Serializable {
    @ApiModelProperty("药品id")
    private Long drugId;
    @ApiModelProperty("药品名称")
    private String drugName;
    @ApiModelProperty("药品规格")
    private String drugSpecifications;
    @ApiModelProperty("药品列表图")
    private String drugImage;
    @ApiModelProperty("药品数量")
    private Integer drugNum;
    @ApiModelProperty("药品价格")
    private BigDecimal drugPrice;
    @ApiModelProperty("成本价格")
    private BigDecimal costPrice;
    @ApiModelProperty("药品活动价格")
    private BigDecimal drugActivityPrice;
    @ApiModelProperty("是否处方药 true是 false不是")
    private Boolean prescriptionDrug;
    @ApiModelProperty("起步数量")
    private Integer baseLimit;
    @ApiModelProperty("打包价格")
    private BigDecimal packAmount;
    @ApiModelProperty("药品编码")
    private String drugCode;
    @ApiModelProperty("条形码")
    private String barCode;
    @ApiModelProperty("单人限购数量")
    private Integer numberRestrictedItems;

    @ApiModelProperty("是否开启会员权益0未开启，1已开启")
    private Boolean isRights;
    /**
     * 满足金额，则开始优惠（满减）
     */
    @ApiModelProperty("满足金额，则开始优惠（满减）")
    private BigDecimal amount;
    /**
     * 优惠金额（满减）
     */
    @ApiModelProperty("优惠金额（满减）")
    private BigDecimal discountAmount;
    /**
     * 折扣率(存百分比)
     */
    @ApiModelProperty("折扣率(存百分比)")
    private BigDecimal discount;
    /**
     * 满多少赠送
     */
    @ApiModelProperty("满多少赠送")
    private Integer howManyPiecesAreGivenAway;


}
